package cn.iocoder.yudao.module.warehouse.controller.admin.warehouse.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 库房列表新增/修改 Request VO")
@Data
public class WarehouseSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "库房名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "库房名称不能为空")
    private String warehouseName;

    @Schema(description = "库房类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "库房类型不能为空")
    private Integer type;

    @Schema(description = "库房规格", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "库房规格不能为空")
    private Integer capacity;

    @Schema(description = "已使用数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "已使用数量不能为空")
    private Integer usedCount;

    @Schema(description = "使用状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "使用状态不能为空")
    private Integer status;

    @Schema(description = "库房地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "库房地址不能为空")
    private String address;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "附件地址")
    private String attachmentUrl;

}